home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / mtool100.zip / MTOOL.DOC < prev    next >
Text File  |  1993-05-25  |  37KB  |  875 lines

  1.  
  2.  
  3.  
  4.  
  5.                                           
  6.  
  7.                                           
  8.                                           
  9.                                           
  10.                                           
  11.                                           
  12.                                           
  13.                                           
  14.                                           
  15.                                           
  16.                                           
  17.                                           
  18.                                           
  19.                                           
  20.                                           
  21.                                           
  22.                            Tools for Software Programmers
  23.                                           
  24.                                 MTOOL (Mark's Tools)
  25.                                           
  26.                             Version 1.00 - May 18, 1993
  27.                                           
  28.                                U S E R S   M A N U A L
  29.                                           
  30.                                    Mark K. Mathews
  31.                                    15 Dunstan Road
  32.                                 Lynnfield, MA. 01940
  33.                                     617-334-3910
  34.                                           
  35.                                           
  36.                      Copyright (c) 1989-1993 by Mark K. Mathews
  37.  
  38.               This version of the documentation, software and copyright
  39.                      supersedes all previous versions of MTOOL.
  40.  
  41.                   Specifications subject to change without notice.
  42.       
  43.  
  44.  
  45.  
  46.                                   TABLE OF CONTENTS
  47.       INTRODUCTION                                               1
  48.       System Requirements                                        1
  49.       License                                                    1
  50.           BBS Sysops                                             1
  51.           Disk Distributors                                      2
  52.       Disclaimer of Warranty                                     2
  53.       Trademarks                                                 2
  54.       Ordering Information                                       2
  55.           Order Form                                             3
  56.       Chapter 1  Getting Started                                 4
  57.           Installing MTOOL                                       4
  58.       Chapter 2  MTOOL (MAIN MENU)                               5
  59.           How to use Menus                                       5
  60.           How to select objects                                  5
  61.           Icon Editor                                            5
  62.           Mouse Editor                                           5
  63.           Files Menu                                             6
  64.               Get Info...                                        6
  65.               DOS shell                                          6
  66.               Quit                                               6
  67.           Help Menu                                              6
  68.               Help!                                              6
  69.               About                                              6
  70.       Chapter 3  ICON EDITOR                                     7
  71.           Editing Images                                         7
  72.           Selecting Colors                                       7
  73.           Files Menu                                             7
  74.               Open...                                            7
  75.               New...                                             8
  76.               Save                                               9
  77.               Save As...                                         9
  78.               Get Info                                           9
  79.               DOS shell                                          9
  80.               Quit                                               9
  81.           Help Menu                                              9
  82.               Help!                                              9
  83.               About...                                           9
  84.           Image Button Functions                                 9
  85.               Reset                                              9
  86.               Clear                                              9
  87.               Fill                                               9
  88.               Invert                                             9
  89.               Flip H                                             9
  90.               Flip V                                             9
  91.               Rotate +90                                        10
  92.               Rotate -90                                        10
  93.               Width-                                            10
  94.               Width+                                            10
  95.               Height-                                           10
  96.               Height+                                           10
  97.               Move <                                            10
  98.               Move >                                            10
  99.               Move ^                                            10
  100.               Move v                                            10
  101.               Resize                                            10
  102.           .BIT File Format                                      11
  103.       
  104.  
  105.  
  106.                                                                         ii
  107.       Chapter 4  MOUSE EDITOR                                   12
  108.           How to Edit Mouse Cursors                             12
  109.           Selecting Colors                                      12
  110.           Files Menu                                            12
  111.               Open...                                           12
  112.               New...                                            12
  113.               Save                                              12
  114.               Save As...                                        12
  115.               Get Info                                          12
  116.               DOS shell                                         12
  117.               Quit                                              12
  118.           Screen Mask Menu                                      12
  119.               Clear                                             12
  120.               Fill                                              12
  121.               Invert                                            12
  122.               Horizontal Flip                                   13
  123.               Vertical Flip                                     13
  124.               Rotate Plus 90 Degrees                            13
  125.               Rotate Minus 90 Degrees                           13
  126.               Copy Cursor Mask                                  13
  127.               Quick Outline     F5                              13
  128.           Cursor Mask Menu                                      13
  129.               Clear                                             13
  130.               Fill                                              13
  131.               Invert                                            13
  132.               Horizontal Flip                                   13
  133.               Vertical Flip                                     13
  134.               Rotate Plus 90 Degrees                            14
  135.               Rotate Minus 90 Degrees                           14
  136.               Copy Cursor Mask                                  14
  137.               Set Cursor Hot Spot                               14
  138.           Help Menu                                             14
  139.               Help!                                             14
  140.               About...                                          14
  141.           Mouse Buttons                                         14
  142.               Test Data    F7                                   14
  143.               Reset Mouse  F8                                   14
  144.           .MOU File Format                                      15
  145.       
  146.  
  147.  
  148.                                                                         1
  149.       INTRODUCTION
  150.  
  151.            MTOOL provides two tools for programmer's:  a MOUSE CURSOR editor
  152.       and a ICON EDITOR.  The MOUSE CURSOR editor lets you edit each pixel of
  153.       a mouse cursor to form any shape you wish.  The final mouse cursor is
  154.       saved as an unsigned integer array in an ASCII file on disk.  The mouse
  155.       cursor file is then compiled and linked to your program.  Some of the
  156.       MOUSE CURSOR features are: load, save, rotate, invert, flip, set mouse
  157.       cursor hotspot and test mouse cursor.  The ICON editor lets you edit
  158.       each pixel of an image up to 64 x 64 pixels in 16 colors.  The final
  159.       image is saved as a char far * array in an ASCII file on disk.  The
  160.       icon image file is then compiled and linked to your program and can be
  161.       used by putimage() (putimage() is a function in Borland's Turbo C,
  162.       Turbo C++, and Borland C++).  Some of the ICON EDITOR features are:
  163.       load, save, rotate, invert, flip, resize and move image.
  164.  
  165.       System Requirements
  166.  
  167.            MTOOL runs on the IBM PC compatible family of computers, including
  168.       AT and PS/2, along with all true IBM compatible 286, 386, and 486
  169.       computers.  MTOOL requires:
  170.  
  171.            1) DOS 3.31 or higher and requires a minimum of 350K of memory.
  172.            2) a Microsoft compatible mouse.
  173.            3) a VGA color monitor( 640 x 480 16 color).
  174.            4) MTOOL can run on either a hard disk or a floppy drive.
  175.  
  176.       License
  177.  
  178.            This version of MTOOL is NOT public domain or free software, but is
  179.       being distributed as "shareware".  Non-registered users of this software
  180.       are granted a limited license to make an evaluation copy for trial use
  181.       on a private, non-commercial basis, for the express purpose of
  182.       determining whether MTOOL is suitable for their needs.  At the end of
  183.       this trial period, you should either register your copy or discontinue
  184.       using MTOOL.  What does this mean to you?  If you use this program, then
  185.       you should pay for your copy.  That way the author, Mark K. Mathews,
  186.       will be able to provide you support and updates, and stay in business.
  187.       Plus, registered users receive additional ICON image files, MOUSE CURSOR
  188.       files, programming examples, and technical support.
  189.            A MTOOL registration entitles you to use the program on ONLY one
  190.       computer.  All users are granted a limited license to copy MTOOL only
  191.       for the trial use of others and subject to the above limitations. This
  192.       license does NOT include distribution or copying of this software
  193.       package in connection with any other product or service, or for general
  194.       use within a company or institution.
  195.  
  196.       BBS Sysops
  197.  
  198.            Operators of electronic bulletin board systems (Sysops) are
  199.       encouraged to post this program for downloading by their users, as long
  200.       as the above conditions are met.
  201.       
  202.  
  203.  
  204.                                                                         2
  205.       Disk Distributors
  206.  
  207.            Disk distributors, i.e. companies that charge a nominal fee for the
  208.       copying and mailing of diskettes listed in their catalogs, do not pay
  209.       any part of that fee to the author.  The author in turn does not pay any
  210.       listing fees for getting the program into the distributor's catalogs.
  211.  
  212.       Disclaimer of Warranty
  213.  
  214.            THIS SOFTWARE AND MANUAL ARE SOLD "AS IS" AND WITHOUT WARRANTIES AS
  215.       TO PERFORMANCE OR MERCHANTABILITY.  THE SELLER'S SALESPERSONS MAY HAVE
  216.       MADE STATEMENTS ABOUT THIS SOFTWARE.  ANY SUCH STATEMENTS DO NOT
  217.       CONSTITUTE WARRANTIES AND SHALL NOT BE RELIED ON BY THE BUYER IN
  218.       DECIDING WHETHER TO PURCHASE THIS PROGRAM.  THIS PROGRAM IS SOLD WITHOUT
  219.       ANY EXPRESS OR IMPLIED WARRANTIES WHATSOEVER.  BECAUSE OF THE DIVERSITY
  220.       OF CONDITIONS AND HARDWARE UNDER WHICH THIS PROGRAM MAY BE USED, NO
  221.       WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED.  THE USER IS
  222.       ADVISED TO TEST THE PROGRAM THOROUGHLY BEFORE RELYING ON IT.  THE USER
  223.       MUST ASSUME THE ENTIRE RISK OF USING THE PROGRAM.  ANY LIABILITY OF
  224.       SELLER OR MANUFACTURER WILL BE LIMITED TO PRODUCT REPLACEMENT OR REFUND
  225.       OF PURCHASE PRICE.
  226.            The author is committed to supporting this program, so he will
  227.       repair reported problems and issue upgraded programs as quickly as
  228.       possible after problem reports are received.
  229.  
  230.       Trademarks
  231.  
  232.       MS/DOS is a registered trademark of Microsoft Corporation.
  233.       PC/DOS is a registered trademark of IBM Corporation.
  234.       IBM is a registered trademark of International Business Machines Corp.
  235.       Turbo C, Turbo C++, and Borland C++ are registered trademarks of
  236.       Borland International, Inc.
  237.       Pkzip and Pkunzip are registered trademarks of PKWARE, Inc.
  238.  
  239.       Ordering Information
  240.  
  241.            A MTOOL registration licenses you to use the program on a regular
  242.       basis.  Registration includes latest version of program along with
  243.       additional ICON files, MOUSE CURSOR files, programming examples and
  244.       technical support.  Individual registrations for MTOOL costs $35 (plus
  245.       $1.50 shipping).  The latest MTOOL diskette will be sent along with a
  246.       documentation file on the disk.
  247.       
  248.  
  249.  
  250.                                                                         3
  251.       Order Form
  252.  
  253.                                      ORDER FORM
  254.  
  255.            Date:__________________________
  256.  
  257.            Remit to:  Mark K Mathews
  258.                       MTOOL
  259.                       15 Dunstan Road
  260.                       Lynnfield  MA  01940
  261.                       USA
  262.  
  263.            Please enter following order:
  264.  
  265.            ____ MTOOL Registration ..................... @ $35.00 ea $________
  266.            (Includes latest version of the program diskette with
  267.             documentation and examples).
  268.            Shipping      ........................................... $________
  269.            (U.S. and Canada, $1.50; All Other Countries, $10.00)
  270.  
  271.                                                            Subtotal  $________
  272.  
  273.            ____ Massachusetts Residents please add Sales Tax  @ 5%   $________
  274.  
  275.                                                    Total (U.S.Funds) $________
  276.                                                       drawn on U.S.Bank
  277.  
  278.            Diskette ________ 5 1/4 360K        ________ 3 1/2 720K
  279.  
  280.            Enclosed Please find a check for $______________
  281.  
  282.            Name    _________________________________________________________
  283.  
  284.            Company _________________________________________________________
  285.  
  286.            Address _________________________________________________________
  287.  
  288.                    _________________________________________________________
  289.  
  290.                    _________________________________________________________
  291.  
  292.            Day Phone: ______________________ Evening: ______________________
  293.  
  294.                          Prices are good until December 1993.
  295.  
  296.  
  297.                                                                         4
  298.       Chapter 1  Getting Started
  299.  
  300.            The MTOOL program is distributed in a .ZIP file and are compressed
  301.       using the utility PKZIP.  Program and data files are decompressed using
  302.       PKUNZIP and placed into the users directory.
  303.       The files in MTOOL1.ZIP:
  304.  
  305.            FILE_ID.DIZ   Definition of MTOOL
  306.            MTOOL.DOC     MTOOL Documentation
  307.            MTOOL.HIS     MTOOL History
  308.            MTOOL.EXE     MTOOL main program
  309.            BEACH.BIT     Example developed with ICON EDITOR
  310.            MUSHROOM.BIT  Example developed with ICON EDITOR
  311.            ARROW.MOU     Example developed with MOUSE EDITOR
  312.            RHAND.MOU     Example developed with MOUSE EDITOR
  313.            ORDER.FRM     Order form for registration of MTOOL.
  314.  
  315.       Installing MTOOL
  316.  
  317.       1) Copy MTOOL1.ZIP to the directory you want MTOOL to be located.
  318.       2) Type "PKUNZIP *.ZIP" to unpack MTOOL1.ZIP.
  319.       3) To run, type "MTOOL".
  320.       
  321.  
  322.  
  323.                                                                         5
  324.       Chapter 2  MTOOL (MAIN MENU)
  325.  
  326.       How to use Menus
  327.  
  328.       There are three ways to select a menu command:
  329.  
  330.       1) Press F10, then use the arrow keys to go to the menu you want and use
  331.       the down arrow to show the menu commands.  Use the arrow keys to select
  332.       the command.  Press Enter to choose the selected command.
  333.  
  334.       2) Press Alt and the underlined letter of the menu you want (such as
  335.       Alt+F for the File menu), use the arrow keys to select a command, then
  336.       press Enter to choose that command.
  337.  
  338.       3) Press Alt and the underlined letter of the menu you want (such as
  339.       Alt+F for the File menu), then press Alt and the underlined letter of the
  340.       command you want (such as Alt+G for the Get Info menu option).  You can
  341.       also press the underlined letter of a menu name or command instead of
  342.       using the arrow keys.  Or Click the title of the menu you want to pull
  343.       down, then click the menu command you want to choose.
  344.           The highlighted menu title is the currently selected menu.
  345.           Menu commands are followed by either an ellipsis mark (...) or a hot
  346.       key.
  347.       
  348.           Mark │ Name     │ What the Menu Command Does
  349.           ─────┼──────────┼────────────────────────────
  350.           ...  │ Ellipsis │ Brings up a dialog box
  351.                │          │
  352.            F4  │ Hot key  │ Initiates some action when
  353.                │          │ you choose that command or
  354.                │          │ press the specified hot key
  355.       
  356.       How to select objects
  357.            To select any one of a group of objects (i.e. Input Box, Directory
  358.       list, Buttons) in a dialog window you can:
  359.            - click with the mouse
  360.            - press TAB key or SHIFT TAB key
  361.            - ALT key with the underlined letter in the title of the object.
  362.  
  363.       Icon Editor
  364.            To EXECUTE the Icon Editor press F2 on the keyboard or use the left
  365.       button of the mouse and click on the button titled "Icon Editor    F2".
  366.  
  367.       Mouse Editor
  368.            To EXECUTE the Mouse Editor press F3 on the keyboard or use the left
  369.       button of the mouse and click on the button titled "Mouse Editor   F3".
  370.       
  371.  
  372.  
  373.                                                                         6
  374.       Files Menu
  375.  
  376.       Get Info...
  377.  
  378.            To execute Get Info, press ALT+F and then ALT+G.  A dialog window
  379.       will appear to show the working directory, filename, image name, and how
  380.       much of conventional memory is left.
  381.  
  382.       NOTE: If a tool is used and then you return to the MAIN MENU, filename
  383.       and imagename will show the last name used.  This will indicate the last
  384.       tool used.
  385.            Icon  Editor uses .BIT files
  386.            Mouse Editor uses .MOU files
  387.  
  388.       DOS shell
  389.  
  390.            To execute DOS shell, press ALT+F and then ALT+D.  The current work
  391.       is saved and you are returned to the DOS prompt.  To return to MTOOL type
  392.       EXIT and then press ENTER key.  You are returned to MTOOL and any current
  393.       work is loaded.
  394.       
  395.       Quit
  396.       
  397.            To quit to MTOOL perform one of the following:
  398.                1) Type ALT+F then ALT+Q.
  399.                2) Or press ALT+X.
  400.                3) Or click on the button titled "Exit MTOOL  Alt X".
  401.       NOTE: If you are using one of the tools, using steps 1 or 2 above returns
  402.       you to the MAIN MENU.
  403.       
  404.       Help Menu
  405.  
  406.       Help!
  407.       
  408.            To execute Help!, press ALT+H and then ALT+H or F1 key.  A dialog
  409.       box appears with a menu of Hot keys for the menu.  To exit About...:
  410.                - Press Esc or Enter key, or
  411.           - Click OK button.
  412.       
  413.       About
  414.       
  415.            To execute About..., press ALT+H and then ALT+A.  A dialog box
  416.       appears, showing Mark K. Mathews copyright and version information of
  417.       MTOOL.  To exit About...:
  418.            - Press Esc or Enter key, or
  419.                - Click OK button.
  420.       
  421.  
  422.  
  423.                                                                         7
  424.       Chapter 3  ICON EDITOR
  425.  
  426.       Editing Images
  427.            Place the mouse cursor within the large view of the image and click
  428.       with the left button on any pixel block.  You can also press and hold
  429.       the left button while moving from pixel to pixel.
  430.            If you select LINE, ELLIPSE, CIRCLE, or RECTANGLE button, you
  431.       can resize the figure by holding down the RIGHT MOUSE BUTTON and
  432.       move the mouse. Then you position the figure and press the LEFT
  433.       MOUSE BUTTON to draw the figure.
  434.  
  435.       Selecting Colors
  436.            A menu of 16 colors is located on the right side of the screen.
  437.       Simply click on any color and that is your drawing color.
  438.  
  439.       Files Menu
  440.  
  441.       Open...
  442.  
  443.            To execute Open.., press ALT+F and then ALT+O or press F3.  A dialog
  444.       window will appear to show a File Name input box, directory list with
  445.       scrollbar, Open button, Cancel button and FIle info box.  The procedure
  446.       in Opening a file is as follows:
  447.  
  448.       1) The File Name input box will have a wildcard name ( for example,
  449.       *.MOU). In the File Name input box, you can do the following:
  450.  
  451.                 File Name
  452.                 -
  453.                ┌──────────┐
  454.                │*.mou_    │
  455.                └──────────┘
  456.  
  457.       a) Leave the wildcard name in the input box and press the Enter key.
  458.       The directory list will be updated with directory names and any files
  459.       ending with the same extension.
  460.  
  461.       b) Enter a file name with or without the extension and press the Enter
  462.       key.  The directory list is updated and if the file name is found, the
  463.       dialog window will disappear and the program will attempt to open the
  464.       file.
  465.       
  466.  
  467.                                                                         8
  468.  
  469.       2) The Directory List will show all directories and files relative to the
  470.       current directory.  The first directory name of file name is highlighted.
  471.       In the Directory List, you can do the following:
  472.  
  473.                 Directory
  474.                 -
  475.                ┌──────────────┬──────────────┬─┐
  476.                │ ..\          │              │^│
  477.                │ ARROW.MOU    │              ├─┤
  478.                │ LHAND.MOU    │              │ │
  479.                │ TREE.MOU     │              │ │
  480.                │              │              │ │
  481.                │              │              │ │
  482.                │              │              ├─┤
  483.                │              │              │v│
  484.                └──────────────┴──────────────┴─┘
  485.  
  486.       a) Select a file name by clicking with a mouse and then click on the Open
  487.       button.  Or use the arrow keys and then press Enter key.
  488.  
  489.       b) To change directory with mouse double click on directory name.  To
  490.       change directory with keyboard, select directory name with arrow keys and
  491.       press Enter Key.  The new directory will only stay selected after a file
  492.       is properly loaded.  Otherwise, it return to the previous directory.
  493.  
  494.  
  495.       4) The Files info box lists the names of files in the current directory
  496.       that match the file name in the File Name input box, plus the parent
  497.       directory and all subdirectories.
  498.       
  499.               ┌──────────────────────────────────────────┐
  500.               │ C:\COSA\BIN\*.CPP                        │
  501.               │ ARROW.MOU      352  Oct 20,1991  12:00pm │
  502.               └──────────────────────────────────────────┘
  503.       The File Info box shows the path name, file name, date, time, and size of
  504.       the selected file. As you scroll through the directory list , the info
  505.       box is updated for each file.  You cannot select any of the items on this
  506.       information panel.
  507.       
  508.       3) To cancel Open a file, click on the Open button or use the ALT +
  509.       underlined letter of the button title combination.
  510.       
  511.       New...
  512.       
  513.            To execute New.., press ALT+F and then ALT+N.  A dialog window will
  514.       appear to show a filename, image name, OK button and Cancel button.  The
  515.       first time you execute New... the following steps are performed:
  516.       
  517.       1) The filename input box is on with a cursor at the end.  You can enter
  518.       a filename ( 12 characters max. ) with extension.  Then press Enter key
  519.       to go to the image name edit line.
  520.  
  521.       2) The image name input box is on with a cursor at the end.  You can
  522.       enter an image name ( up to 32 characters).  Then press Enter key and the
  523.       OK button will be down.
  524.       
  525.       3) With the OK button down, press Enter key once more and the New..
  526.       dialog window will disappear.  The name of the file will now appear at
  527.       the top of the large window.
  528.       
  529.  
  530.  
  531.                                                                         9
  532.  
  533.       Save
  534.  
  535.            To execute Save, press ALT+F and then ALT+S.  The working file is
  536.       saved in the current working directory.  Save function DOES NOT check for
  537.       existing file.
  538.  
  539.       Save As...
  540.  
  541.            To execute Save As.., press ALT+F and then ALT+A.  See Open... (Open
  542.       A File) for information.
  543.  
  544.       Get Info
  545.  
  546.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  547.  
  548.       DOS shell
  549.  
  550.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  551.  
  552.       Quit
  553.  
  554.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  555.       Help Menu
  556.       
  557.       Help!
  558.       
  559.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  560.       
  561.       About...
  562.       
  563.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  564.  
  565.       Image Button Functions
  566.       
  567.          All Image Buttons are executed by clicking with the mouse only.
  568.       
  569.       Reset
  570.          Reset function resets the image to the maximum size of 64 x 64
  571.       pixels.  The current work is saved and then redisplayed.
  572.  
  573.       Clear
  574.            The current work is cleared and all pixels are change to WHITE
  575.       color.
  576.  
  577.       Fill
  578.            The entire image is filled with the current drawing color.
  579.       
  580.       Invert
  581.            The entire image is inverted.
  582.       
  583.       Flip H
  584.            The entire image is flipped horizontally ( top to bottom).
  585.       
  586.       Flip V
  587.            The entire image is flipped vertically (side to side).
  588.       
  589.  
  590.  
  591.                                                                         10
  592.       Rotate +90
  593.            The entire image is flipped clockwise by 90 degrees.  If the image
  594.       is NOT square, the array is squared to the larger number of columns or
  595.       rows and then rotated clockwise
  596.  
  597.       Rotate -90
  598.            The entire image is flipped counter-clockwise by 90 degrees.  If the
  599.       image is NOT square, the array is squared to the largest columns or rows;
  600.       and then rotated counter-clockwise.
  601.       Width-
  602.            The array is decreased by 1 col of pixels from the right.  If the
  603.       right most column contains a part of the image and Width- is executed,
  604.       that column image info is NOT saved.
  605.  
  606.       Width+
  607.            The array is increased by 1 col of pixels from the right.
  608.  
  609.       Height-
  610.            The array is decreased by 1 row of pixels from the bottom.  If the
  611.       bottom row contains a part of the image and Height- is executed, that row
  612.       image info is NOT saved.
  613.  
  614.       Height+
  615.            The array is increased by 1 row of pixels from the bottom.
  616.  
  617.       Move <
  618.            The entire image is moved to the left by one column.  The image is
  619.       wrapped around from the left column to the right column.
  620.  
  621.       Move >
  622.            The entire image is moved to the right by one column. The image is
  623.       wrapped around from the right column to the left column.
  624.  
  625.       Move ^
  626.            The entire image is moved to the up by one row.  The image is
  627.       wrapped around from the top row to the bottom row.
  628.  
  629.       Move v
  630.            The entire image is moved to the down by one row.  The image is
  631.       wrapped around from the bottom row to the top row.
  632.  
  633.       Resize
  634.            A dialog box appears with the current array size in row and columns.
  635.       The Row edit box is first activated and you can type a 2 digit number
  636.       (max is 64).  Press Enter key to activate the Columns edit box and enter
  637.       a 2 digit number.  Press Enter key and the OK button is activated.
  638.       Pressing Enter key once more and the dialog box disappears and the new
  639.       array is redrawn. CAUTION: If the image is larger then the new array
  640.       size, that part of the image is NOT saved. The best way is to move the
  641.       image to the upper left hand corner and then resize the array.
  642.       
  643.  
  644.  
  645.                                                                         11
  646.       .BIT File Format
  647.  
  648.       Shown below is an example of a .BIT file used by ICON Editor:
  649.  
  650.       //BGI 15 15 126
  651.       char far* ball =
  652.       "\x0E\x00\x0E\x00\xFF\xFE\xFF\xFE\xFF\xFE\xFF\xFE\xFC\x7E\xFC\x7E\xFF\xFE
  653.       "
  654.       "\xFF\xFE\xF0\x1E\xF0\x1E\xFF\xFE\xFF\xFE\xE0\x0E\xE0\x0E\xFF\xFE\xFF\xFE
  655.       "
  656.       "\xC0\x06\xC3\x06\xFC\xFE\xFC\xFE\xC0\x06\xC6\x06\xF9\xFE\xF9\xFE\x80\x02
  657.       "
  658.       "\x8C\x02\xF3\xFE\xF3\xFE\x80\x02\x80\x02\xFF\xFE\xFF\xFE\x80\x02\x80\x02
  659.       "
  660.       "\xFF\xFE\xFF\xFE\xC0\x06\xC0\x66\xFF\x9E\xFF\x9E\xC0\x06\xC0\x46\xFF\xBE
  661.       "
  662.       "\xFF\xBE\xE0\x0E\xE0\xCE\xFF\x3E\xFF\x3E\xF0\x1E\xF0\x1E\xFF\xFE\xFF\xFE
  663.       "
  664.       "\xFC\x7E\xFC\x7E\xFF\xFE\xFF\xFE\xFF\xFE\xFF\xFE\xFF\xFE\xFF\xFE\x00\x00
  665.       "
  666.       ;
  667.  
  668.       Line 1    //BGI 15 15 126
  669.                   ─┬─ ┬  ┬   ┬
  670.                    │  │  │   └────── Size of char far * array
  671.            File I.D.  │  └───┐
  672.                       │      │
  673.                      Rows x Columns
  674.  
  675.       Line 3-XXXX char far* array used by putimage()
  676.       
  677.  
  678.  
  679.                                                                         12
  680.       Chapter 4  MOUSE EDITOR
  681.  
  682.       How to Edit Mouse Cursors
  683.            Place the mouse cursor within the large view of the image and
  684.       click with the left button on any pixel block.  You can also press
  685.       and hold the left button while moving from pixel to pixel.
  686.  
  687.       Selecting Colors
  688.            A menu of 2 colors is located on the right side of the screen.
  689.       Simply click on any color and that is your drawing color.
  690.  
  691.       Files Menu
  692.  
  693.       Open...
  694.  
  695.            See ICON EDITOR, Files Menu, Open.. for information.
  696.  
  697.       New...
  698.  
  699.            See ICON EDITOR, Files Menu, New..  for information.
  700.  
  701.       Save
  702.  
  703.            See ICON EDITOR, Files Menu, Save   for information.
  704.  
  705.       Save As...
  706.       
  707.            See ICON EDITOR, Files Menu, Open.. for information.
  708.       
  709.       Get Info
  710.       
  711.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  712.       
  713.       DOS shell
  714.       
  715.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  716.       
  717.       Quit
  718.       
  719.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  720.       
  721.       Screen Mask Menu
  722.       
  723.       Clear
  724.       
  725.            To execute press ALT+S and then ALT+C.  Clears Screen Mask image to
  726.       WHITE.
  727.       
  728.       Fill
  729.       
  730.            To execute press ALT+S and then ALT+F.  Fills Screen Mask image with
  731.       current color.
  732.  
  733.       Invert
  734.  
  735.            To execute press ALT+S and then ALT+I.  Inverts Screen Mask image.
  736.       
  737.  
  738.  
  739.                                                                         13
  740.  
  741.       Horizontal Flip
  742.  
  743.            To execute press ALT+S and then ALT+H.  Performs a horizontal flip
  744.       (Top<->Bottom) on Screen Mask image.
  745.  
  746.       Vertical Flip
  747.  
  748.            To execute press ALT+S and then ALT+V.  Performs a vertical flip
  749.       (Left<->Right) on Screen Mask image.
  750.  
  751.       Rotate Plus 90 Degrees
  752.  
  753.            To execute press ALT+S and then ALT+P.  Rotates Screen Mask image 90
  754.       degrees clockwise.
  755.  
  756.       Rotate Minus 90 Degrees
  757.  
  758.            To execute press ALT+S and then ALT+M.  Rotates Screen Mask image 90
  759.       degrees counter-clockwise.
  760.       
  761.       Copy Cursor Mask
  762.       
  763.            To execute press ALT+S and then ALT+O.  Makes a copy of Cursor Mask
  764.       image.
  765.       
  766.       Quick Outline     F5
  767.       
  768.            To execute press ALT+S and then ALT+Q or press F5 key.  Draws an
  769.       outline of the current Cursor Mask.  This function is only used when a
  770.       mouse Cursor Mask is a BLACK image on WHITE background.  This function
  771.       then makes a copy Cursor Mask to Screen Mask, Inverts the Screen mask,
  772.       and makes an outline of the Cursor mask image.  This results in a WHITE
  773.       image on a BLACK background.
  774.       
  775.       Cursor Mask Menu
  776.       
  777.       Clear
  778.       
  779.            To execute press ALT+C and then ALT+C.  Clears Cursor Mask image to
  780.       WHITE.
  781.       
  782.       Fill
  783.       
  784.            To execute press ALT+C and then ALT+F.  Fills Cursor Mask image
  785.       with current color.
  786.  
  787.       Invert
  788.  
  789.            To execute press ALT+C and then ALT+I.  Inverts Cursor Mask image.
  790.  
  791.       Horizontal Flip
  792.  
  793.            To execute press ALT+C and then ALT+H.  Performs a horizontal flip
  794.       (Top<->Bottom) on Cursor Mask image.
  795.  
  796.       Vertical Flip
  797.  
  798.            To execute press ALT+C and then ALT+V.  Performs a vertical flip
  799.       (Left<->Right) on Cursor Mask image.
  800.       
  801.  
  802.  
  803.                                                                         14
  804.       Rotate Plus 90 Degrees
  805.  
  806.            To execute press ALT+C and then ALT+P.  Rotates Cursor Mask image 90
  807.       degrees clockwise.
  808.  
  809.       Rotate Minus 90 Degrees
  810.       
  811.            To execute press ALT+C and then ALT+M.  Rotates Cursor Mask image 90
  812.       degrees counter-clockwise.
  813.       
  814.       Copy Cursor Mask
  815.       
  816.            To execute press ALT+C and then ALT+O.  Makes a copy of Screen Mask
  817.       image.
  818.       
  819.       Set Cursor Hot Spot
  820.       
  821.            To execute press ALT+C and then ALT+S.  Sets Mouse Cursor Hot Spot.
  822.       This "hot spot" (a pixel point of a mouse cursor used to click an exact
  823.       position on the screen) can be tested by clicking on Test Data button or
  824.       pressing F7.
  825.       
  826.       Help Menu
  827.       
  828.       Help!
  829.       
  830.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  831.       
  832.       About...
  833.       
  834.            See MTOOL FUNCTIONS (MAIN MENU) for information.
  835.       
  836.       Mouse Buttons
  837.       
  838.       Test Data    F7
  839.       
  840.            To execute press ALT+T or click on Test Data button or press F7
  841.       key.  Changes the default "arrow" mouse cursor to the current
  842.       Screen+Cursor Mask data.  You can use the new mouse cursor until Reset
  843.       Mouse Button is executed or you quit Mouse Editor.
  844.  
  845.       Reset Mouse  F8
  846.  
  847.            To execute press ALT+R or click on Reset Mouse button or press F8
  848.       key.  Resets mouse cursor back to default "arrow" mouse cursor.
  849.       
  850.  
  851.  
  852.                                                                         15
  853.       .MOU File Format
  854.  
  855.       Shown below is a sample of a .MOU file used by Mouse Editor:
  856.  
  857.       //MOUSE
  858.       //CURSOR HOTPOINTS X= 00 Y= 00
  859.       unsigned int arrow [32]= {
  860.            0X7FFF, 0X3FFF, 0X1FFF, 0X0FFF, 0X07FF, 0X03FF, 0X01FF, 0X00FF,
  861.            0X007F, 0X003F, 0X003F, 0X01FF, 0X01FF, 0X30FF, 0XF0FF, 0XF0FF,
  862.            0X0000, 0X0000, 0X4000, 0X6000, 0X7000, 0X7800, 0X7C00, 0X7E00,
  863.            0X7F00, 0X7F80, 0X7C00, 0X6C00, 0X4C00, 0X0600, 0X0600, 0X0000,
  864.       };
  865.  
  866.       Line 1    Header I.D.  (Mouse Editor checks for this!)
  867.       Line 2    //CURSOR HOTPOINTS X=00 Y= 00
  868.                 ───────┬────────── ────┬─────
  869.                        │               │
  870.                        │               │
  871.                   I.D. of (X,Y)        └───── Mouse Cursor Hotpoints
  872.  
  873.       Line 3-8 unsigned int array used by int 33h Mouse Function 9
  874.       
  875.